package cn.yunhe.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;


//    例三 集合

@Data
@Component
public class CollectionBean {
    @Resource(name = "list")
    private List list;
    @Resource(name = "set")
    private Set set;
    @Resource(name = "prop")
    private Properties prop;
    @Resource(name = "map")
    private Map map;
}
